/**
 * Created by kule on 2017/7/20.
 */
export const toPair=function(obj){
    const rst={};
    for(let key in obj){
        rst.key=key;
        rst.value=obj[key];
        return rst;
    }
    return rst;
};
export default toPair;